#pragma once
#ifndef __WORD_H__
#define __WORD_H__
#include <map>
#include <string>
#include <iostream>
// 句法类
// 输入串
using std::string;
using std::multimap;
using std::pair;
using std::cout;
using std::endl;

#define UNI unsigned int
namespace compile
{
	class Word
	{
	public:
		Word();
		Word(string key, string word);
		~Word();
		void printWord() const;
		string getKey() const;
		string getContent() const;
		pair<string, string> getWord() const;

	private:
		pair<string, string>word_pair;
	};
}
#endif